-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#16165: Add binary SFPU divide init function #16250
Conversation
42e4ea1
to
2c7e9ad
Compare
ALWI void eltwise_binop_tile_init() { MATH((llk_math_eltwise_binary_sfpu_binop_init<APPROX>())); } | ||
ALWI void add_binary_tile_init() { MATH((llk_math_eltwise_binary_sfpu_binop_init<APPROX, ADD_BINARY>())); } | ||
|
||
ALWI void sub_binary_tile_init() { MATH((llk_math_eltwise_binary_sfpu_binop_init<APPROX, SUB_BINARY>())); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So each binary op is potentially a different init.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please give the enum
a name, make it an enum class
, and use that as the template parameter type instead of int
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes each op needs to be able to have a different init. And ok I have changed this to enum class
2c7e9ad
to
8cf1b15
Compare
8cf1b15
to
f98f708
Compare
* Tests are working after tt-metal fix. * tenstorrent/tt-metal#16250
* Tests are working after tt-metal fix. * tenstorrent/tt-metal#16250
* Tests are working after tt-metal fix. * tenstorrent/tt-metal#16250
Ticket
Link to Github Issue
Problem description
Binary SFPU OP divide requires init call.
Checklist